package com.driver.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.time.LocalDateTime;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("temperature")
public class Temperature extends BaseEntity {

    /**
     * 设备编码
     */
    private String code;

    /**
     * 母线电压值
     */
    private Double voltage;

    /**
     * 工作频率值
     */
    private Double rate;

    /**
     * 计算壳温
     */
    private Double jTemp;

    /**
     * 测量壳温
     */
    private Double sTemp;

    /**
     * 校准次数
     */
    private Integer adjustTimes;

    /**
     * 监测时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.sss")
    private LocalDateTime monitorTime;

}
